// import Mock from 'mockjs'
export default [
  {
    url: '/deviceStore/selectAllByPage',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": {
          "pageNum": 1,
          "pageSize": 1,
          "total": 1,
          "pages": 1,
          "list": [
            {
              "type": "马克一型",
              "num": 10,
              "makeDate": '2019-10-04',
              "storeNum": 40
            }
          ]
        }
      }
    }
  },
  {
    url: '/deviceStore/save',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功"
      }
    }
  },
  {
    url: '/deviceStore/update',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功"
      }
    }
  },
  {
    url: '/deviceStore/selectAllByParams',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": [
          {
            "id": 1,
            "type": "类型一",
            "length": 600,
            "width": 400,
            "height": 200,
            "size": 1000,
            "weight": 999
          },
          {
            "id": 3,
            "type": "类型二",
            "length": 600,
            "width": 400,
            "height": 200,
            "size": 1000,
            "weight": 999
          }
        ]
      }
    }
  },

]
